import * as $echarts from 'echarts'
import type { App } from 'vue'

import VueEcharts from 'vue-echarts'

// 将组件实例挂载到app中
const vueEcharts = (app: App) => {
    app.component('v-chart', VueEcharts)
}

export {
    $echarts,
    vueEcharts
}
// 因为这个是第三方的插件,需要处理一下,在去main.js中use,全局就可以使用了